﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SrdBasic;

namespace SrdTest
{
    class TestSrdBasic : ITest
    {
        #region ITest Members

        public void Run()
        {
            for (int i = 0; i < 10; i++)
            {
                Console.WriteLine("roll 4 sides dice: {0}", DiceNotation.D4(1, 0));
            }

            Console.ReadLine();
            Console.Clear();
            
            for (int i = 0; i < 10; i++)
            {
                Console.WriteLine("roll 6 sides dice: {0}", DiceNotation.D6(1, 0));
            }

            Console.ReadLine();
            Console.Clear();

            for (int i = 0; i < 10; i++)
            {
                Console.WriteLine("roll 8 sides dice: {0}", DiceNotation.D8(1, 0));
            }

            Console.ReadLine();
            Console.Clear();

            for (int i = 0; i < 10; i++)
            {
                Console.WriteLine("roll 10 sides dice: {0}", DiceNotation.D10(1, 0));
            }

            Console.ReadLine();
            Console.Clear();

            for (int i = 0; i < 10; i++)
            {
                Console.WriteLine("roll 12 sides dice: {0}", DiceNotation.D12(1, 0));
            }

            Console.ReadLine();
            Console.Clear();

            for (int i = 0; i < 10; i++)
            {
                Console.WriteLine("roll 20 sides dice: {0}", DiceNotation.D20(1, 0));
            }

            Console.ReadLine();
            Console.Clear();

            for (int i = 0; i < 10; i++)
            {
                Console.WriteLine("roll percentile dice: {0}", DiceNotation.DPercent());
            }

            Console.ReadLine();
            Console.Clear();

        }

        #endregion
    }
}
